<template>
  <p>这是一个全局组件</p>
</template>

<script>
export default {
  name:"GlobalCom"
}
</script>

<style scoped>
p {
  color: red;
}
</style>